package org.jetlinks.community.mstn.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.hswebframework.web.authorization.annotation.QueryAction;
import org.hswebframework.web.dict.EnumDict;
import org.jetlinks.community.mstn.annotation.MstnAssetsController;
import org.jetlinks.community.mstn.exception.MstnAssetsUnknownException;

import java.lang.annotation.Annotation;

/**
 * @author zhengzuowei
 */

@Getter
@AllArgsConstructor
public enum AssetsType implements EnumDict<String> {
    user("用户"),
    form("表单"),
    product("产品"),
    scene("场景"),
    organization("机构"),
    tenantRole("租户角色"),
    device("设备");

    private final String text;

    @Override
    public String getValue() {
        return name();
    }


}
